import request from '@/utils/request'

// 商品分类列表
export function apiGoodsCateLists(params: any) {
    return request.get({ url: '/goods.goods_cate/lists', params })
}

// 商品分类列表
export function apiGoodsCateAll(params?: any) {
    return request.get({ url: '/goods.goods_cate/all', params })
}

// 添加商品分类
export function apiGoodsCateAdd(params: any) {
    return request.post({ url: '/goods.goods_cate/add', params })
}

// 编辑商品分类
export function apiGoodsCateEdit(params: any) {
    return request.post({ url: '/goods.goods_cate/edit', params })
}

// 删除商品分类
export function apiGoodsCateDelete(params: any) {
    return request.post({ url: '/goods.goods_cate/delete', params })
}

// 商品分类详情
export function apiGoodsCateDetail(params: any) {
    return request.get({ url: '/goods.goods_cate/detail', params })
}